package com.dianjing.dianjing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dianjing.dianjing.entity.TestEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author liangbaigao
 * @Date 2022/11/7 14:42
 */
@Mapper
public interface TestMapper extends BaseMapper<TestEntity> {

    @Select("SELECT * FROM test")
    List<TestEntity> selectAll();
}
